package com.yjc.drygoods.ware.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 库存预警表
 * 
 * @author yjc
 * @email yjc19979401754@126.com
 * @date 2022-10-26 15:02:13
 */
@Data
@TableName("wms_inventory_alerts")
public class InventoryAlertsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 干货id
	 */
	private Long spuId;
	/**
	 * 批次
	 */
	private Integer batch;
	/**
	 * 干货名称
	 */
	private String spuName;
	/**
	 * 干货库存数量
	 */
	private Double spuNum;
	/**
	 * 预警原因[后端枚举]
	 */
	private Integer warningReason;
	/**
	 * 预警处理状态
	 */
	private Integer processStatus;
	/**
	 * 预警时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date warningTime;
	/**
	 * 预警处理时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date processTime;

}
